package com.egao.common.module.world.vo;

import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 济世杯详情VO
 * @author root
 */
@Data
public class WorldGameDataVO {

    @ApiModelProperty("主键编号")
    private Integer id;

    @ApiModelProperty("是否需要附件 0需要，1不需要")
    private String world;

    @ApiModelProperty("封面图")
    private String imgUrl;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("承办方名字")
    private String name;

    @ApiModelProperty("举办地点")
    private String address;

    @ApiModelProperty("承办方id")
    private Integer userId;

    @ApiModelProperty("正文内容")
    private String content;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = DatePattern.NORM_DATETIME_MINUTE_PATTERN)
    private Date startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = DatePattern.NORM_DATETIME_MINUTE_PATTERN)
    private Date endTime;

    @ApiModelProperty("截止报名时间")
    @JsonFormat(pattern = DatePattern.NORM_DATETIME_MINUTE_PATTERN)
    private Date closeTime;

    @ApiModelProperty("报名人数限制")
    private Integer number;

    @ApiModelProperty("添加时间")
    @JsonFormat(pattern = DatePattern.NORM_DATETIME_MINUTE_PATTERN)
    private Date createTime;
}
